(cat "\nThis script will only update the executables at CIM:bin/\n\nYou have currently CIM version " cim_ver "." cim_rev "\n\nYou are about to install version " e_cim_ver "." e_cim_rev)
)
(SET #str-installing-exe
(cat "\n\nInstalling...")
)
(MESSAGE #alku_str)
(COMPLETE 0)
(SET CIMdirBin "CIM:bin/")
(SET CIMdir "CIM:")
(SET @default-dest CIMdir)
(COMPLETE 50)
(COPYFILES
(source "stuff/bin/")
(pattern "#?")
(dest CIMdirBin)
(prompt #str-installing-exe)
)
(COMPLETE 75)
(RENAME "CIM:WPositions" "CIM:CONFIG/WPositions")
(RENAME "CIM:area_codes" "CIM:CONFIG/area_codes")
(RENAME "CIM:ccodes" "CIM:CONFIG/ccodes")
(PROTECT "CIM:bin/cim" "rwed")
(RUN "multiview IMPORTANT")
)
(MESSAGE "CIM is not installed correctly! (No CIM: assign.) Can't update.")